package com.kaifamiao.month04.day26;

import java.io.File;
import java.util.Date;

public class Demo {

    public static void main(String[] args) {
        File file = new File("E:\\1101\\2022-04\\0425\\云创动力·开发喵-日志-高洋-20220425");
        System.out.println(file.exists());

        System.out.println(new Date(file.lastModified()));

        System.out.println(file.setLastModified(new Date().getTime()));

        System.out.println(file.isDirectory());
        System.out.println(file.isFile());



    }
}
